﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TempleteDesign.aspx.cs"  Inherits="AlbonWeb.Manager.SizeManager.TempleteDesign" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Templete Design</title>
    <link href="/css/dialog.css" rel="stylesheet" type="text/css" />
    <script src="/js/ADS.js" type="text/javascript"></script>
    <script src="/js/dialog.js" type="text/javascript"></script>
</head>

<body>
    <form id="form1" runat="server">
    <div class="templeteDesign">
        <div class="title">
            Templete Design
        </div>
        <div class="item_name">
          Item:  <asp:DropDownList ID="ddlItem" runat="server" 
                AutoPostBack="True" onselectedindexchanged="ddlItem_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
        <table>
            <asp:Repeater ID="repMain" runat="server">
                <HeaderTemplate>
                    <tr>
                        <td>
                            
                        </td>
                        <td>
                            Templete Name
                        </td>
                        <td>
                            CN Name
                        </td>
                        <td>
                            Body Status
                        </td>
                        <td>
                            Finished Status
                        </td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <input type="checkbox" class="sizeitem" id='<%#Eval("ID")%>' />
                        </td>
                        <td class="td_value">
                            <%#Eval("itemName")%>
                        </td>
                        <td>
                            <%#Eval("cnName") %>
                        </td>
                        <td class="td_value">
                            <select id='body_<%#Eval("ID")%>'>
                                <option class="must" value="1">Must</option>
                                <option class="can" value="0">Can</option>
                                <option class="cannot" value="-1">Cannot</option>
                            </select>
                        </td>
                        <td>
                            <select id='finished_<%#Eval("ID") %>'>
                                <option class="must" value="1">Must</option>
                                <option class="can" value="0">Can</option>
                                <option class="must" value="-1">Cannot</option>
                            </select>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            <tr>
                <td colspan="5" align="right">
                    <asp:Button ID="templeteSubmit" runat="server" Text="Submit" 
                        onclick="btnSubmit_Click" />
                    </td>
            </tr>
        </table>
        <asp:HiddenField ID="hfvalue" runat="server" />
    </div>
    </form>
</body>
</html>
